package org.emet.entity.biz;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.emet.help.CGResource;
import org.emet.jee.console.entity.BaseEntity;

@Entity
@Table(name = "T_VEH_INFRACN_LOG")
public class VehInfraccionLog extends BaseEntity {
	private Long vehicleId;
	@CGResource("车牌号")
	private String lpn;
	@CGResource("违规地点")
	private String address;
	@CGResource("交警大队")
	private String trafficPolice;
	@CGResource("违规/章费用")
	private BigDecimal costFee;
	@CGResource("日期")
	private Date date;
	@CGResource("备注")
	private String remark;

	public Long getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getLpn() {
		return lpn;
	}

	public BigDecimal getCostFee() {
		return costFee;
	}

	public void setCostFee(BigDecimal costFee) {
		this.costFee = costFee;
	}

	public void setLpn(String lpn) {
		this.lpn = lpn;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTrafficPolice() {
		return trafficPolice;
	}

	public void setTrafficPolice(String trafficPolice) {
		this.trafficPolice = trafficPolice;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
